/*
 * Copyright 2020-2021 redragon.dongbin
 *
 * This file is part of redragon-erp/赤龙ERP.

 * redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * redragon-erp/赤龙ERP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with redragon-erp/赤龙ERP.  If not, see <https://www.gnu.org/licenses/>.
 */
/**
 * @description DataBox.java
 * @author dongbin
 * @version 
 * @copyright
 */

package com.erp.cux.flexfield.dao.data;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @description
 * @date 2021年2月23日
 * @author dongbin
 * 
 */
public class DataBox {
    
    //获取弹性域字段类型
    public static Map<String, String> getFieldAttributeTypeMap(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("TEXT", "文本");
        map.put("DATE", "日期");
        map.put("DATASET", "值集");
        return map;
    }
    
    //获取自定义辅助字段表名
    public static Map<String, String> getFlexFieldTableMap(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("po_head", "采购订单");
        map.put("so_head", "销售订单");
        map.put("po_agreement_head", "采购协议");
        map.put("so_agreement_head", "销售协议");
        
        map.put("inv_input_head", "入库单");
        map.put("inv_output_head", "出库单");
        
        map.put("ap_invoice_head", "应付发票");
        map.put("ap_pay_head", "付款单");
        map.put("ar_invoice_head", "应收发票");
        map.put("ar_receipt_head", "收款单");
        return map;
    }

}
